package com.his.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.his.entity.dto.MedicalRecord;
import com.his.entity.po.DiseasePO;
import com.his.entity.vo.DiseaseVO;

import java.util.List;

public interface IMedicalService extends IService<MedicalRecord> {
    /**
     * 创建病历
     * @param medicalRecord
     * @return
     */
    void create(MedicalRecord medicalRecord);

    /**
     * 查询所有疾病信息
     * @return
     */
    List<DiseaseVO> diagnosis(Long registerId);

    /**
     * 添加疾病信息
     * @param diseasePO
     * @return
     */
    void AddDisease(DiseasePO diseasePO);

    /**
     * 删除疾病信息
     * @param diseaseId
     */
    void deleteDisease(Long diseaseId);
}
